const mongoose = require("mongoose");
//1.连接本地数据库
mongoose.connect( 'mongodb://127.0.0.1:27017/shoeMall', {useNewUrlParser: true});
module.exports = mongoose;